package com.tarena.test.luban.demo.order.dubbo.test.server.service.impl;

import com.tarena.test.luban.demo.order.dubbo.test.server.service.People;

import java.io.IOException;

/**
 * server本地代码不对外暴露
 */
public class PeopleImpl implements People {
    @Override
    public String sayHi(String name) {
        return "hello nice to meet "+name;
    }

    @Override
    public void eat(String name) throws IOException {
        System.out.println("吃");
    }
}
